gtk4.git
20 years agobug fixes
Norayr Chilingaryan [Tue, 8 Nov 2005 13:36:37 +0000 (13:36 +0000)]
bug fixes

20 years agoDon't looks the bookmark label when reordering. (#320720, Jeremy Cook)
Matthias Clasen [Mon, 7 Nov 2005 20:31:10 +0000 (20:31 +0000)]
Don't looks the bookmark label when reordering. (#320720, Jeremy Cook)

2005-11-07  Matthias Clasen  <mclasen@redhat.com>

* gtk/gtkfilechooserdefault.c (shortcuts_reorder): Don't
looks the bookmark label when reordering.  (#320720, Jeremy Cook)

20 years agoSet focus-on-click to FALSE for all buttons. Don't grab focus when a
Matthias Clasen [Mon, 7 Nov 2005 20:10:04 +0000 (20:10 +0000)]
Set focus-on-click to FALSE for all buttons. Don't grab focus when a

2005-11-07  Matthias Clasen  <mclasen@redhat.com>

* gtk/gtkpathbar.[hc]: Set focus-on-click to FALSE for all buttons.
Don't grab focus when a slider button is pressed, instead, use
a bit in the pathbar struct to determine whether to scroll up
or down.  (#314486, Carlos Garnacho)

20 years agoDon't popup the completions if the focus has already been moved somewhere
Matthias Clasen [Mon, 7 Nov 2005 17:28:37 +0000 (17:28 +0000)]
Don't popup the completions if the focus has already been moved somewhere

2005-11-07  Matthias Clasen  <mclasen@redhat.com>

* gtk/gtkentrycompletion.c (_gtk_entry_completion_popup):
Don't popup the completions if the focus has already been
moved somewhere else.  (#319914, Christian Persch)

20 years agoMove the raise
Matthias Clasen [Mon, 7 Nov 2005 16:38:06 +0000 (16:38 +0000)]
Move the raise

20 years agoRaise the drag_window after reconfiguring the toolbar. (#320803, Christian
Matthias Clasen [Mon, 7 Nov 2005 16:31:48 +0000 (16:31 +0000)]
Raise the drag_window after reconfiguring the toolbar. (#320803, Christian

2005-11-07  Matthias Clasen  <mclasen@redhat.com>

* gtk/gtktoolitem.c (_gtk_tool_item_toolbar_reconfigured):
Raise the drag_window after reconfiguring the
toolbar.  (#320803, Christian Persch)

20 years agoAdd a focus-on-click property with setter and getter. (#318945, Christian
Matthias Clasen [Mon, 7 Nov 2005 15:57:19 +0000 (15:57 +0000)]
Add a focus-on-click property with setter and getter. (#318945, Christian

2005-11-07  Matthias Clasen  <mclasen@redhat.com>

* gtk/gtk.symbols:
* gtk/gtkfilechooserbutton.h:
* gtk/gtkfilechooserbutton.c: Add a focus-on-click property
with setter and getter.  (#318945, Christian Persch)

20 years agofixed missing $X_CFLAGS setup in case x11.pc is present.
Tim Janik [Mon, 7 Nov 2005 15:17:13 +0000 (15:17 +0000)]
fixed missing $X_CFLAGS setup in case x11.pc is present.

Mon Nov  7 16:15:16 2005  Tim Janik  <timj@imendio.com>

        * configure.in: fixed missing $X_CFLAGS setup in case x11.pc is present.

20 years agoAdjust to the stock icon changes.
Matthias Clasen [Mon, 7 Nov 2005 14:30:35 +0000 (14:30 +0000)]
Adjust to the stock icon changes.

2005-11-07  Matthias Clasen  <mclasen@redhat.com>

* configure.in: Adjust to the stock icon changes.

20 years agoFix also the other place where maskstride was calculated.
Tor Lillqvist [Mon, 7 Nov 2005 12:05:43 +0000 (12:05 +0000)]
Fix also the other place where maskstride was calculated.

20 years agoCorrect the calculation of maskstride. (#320152, Peter Zelezny)
Tor Lillqvist [Mon, 7 Nov 2005 08:16:29 +0000 (08:16 +0000)]
Correct the calculation of maskstride. (#320152, Peter Zelezny)

2005-11-07  Tor Lillqvist  <tml@novell.com>

* gdk/win32/gdkcursor-win32.c (pixbuf_to_hbitmaps_normal):
Correct the calculation of maskstride. (#320152, Peter Zelezny)

20 years agofixed rule to actually create the symlinks, erroring out if anything goes
Michael Natterer [Sun, 6 Nov 2005 22:40:30 +0000 (22:40 +0000)]
fixed rule to actually create the symlinks, erroring out if anything goes

2005-11-06  Michael Natterer  <mitch@imendio.com>

* gtk/Makefile.am (icons): fixed rule to actually create the
symlinks, erroring out if anything goes wrong.

20 years agoUpdated Thai translation.
Theppitak Karoonboonyanan [Sun, 6 Nov 2005 16:02:38 +0000 (16:02 +0000)]
Updated Thai translation.

2005-11-06  Theppitak Karoonboonyanan  <thep@linux.thai.net>

* th.po: Updated Thai translation.

20 years agoCan't rename a file if the target exists on Win32. First rename the target
Tor Lillqvist [Sun, 6 Nov 2005 06:27:01 +0000 (06:27 +0000)]
Can't rename a file if the target exists on Win32. First rename the target

2005-11-06  Tor Lillqvist  <tml@novell.com>

* gtk/updateiconcache.c (build_cache): Can't rename a file if the
target exists on Win32. First rename the target temporarily, then
if the renaming of the source to target fails, restore the
original name for the target.

* gtk/Makefile.am: Use EXEEXT in the dependency on gtk-update-icon-cache.

20 years ago(pixbuf_to_hbitmaps_alpha_winxp): Use an 1-bit mask bitmap, like
Tor Lillqvist [Sun, 6 Nov 2005 05:36:49 +0000 (05:36 +0000)]
(pixbuf_to_hbitmaps_alpha_winxp): Use an 1-bit mask bitmap, like

2005-11-06  Tor Lillqvist  <tml@novell.com>

(pixbuf_to_hbitmaps_alpha_winxp): Use an 1-bit mask bitmap,
like pixbuf_to_hbitmaps_normal().
(_gdk_win32_pixbuf_to_hicon_supports_alpha): Check
G_WIN32_IS_NT_BASED() first, so we can pretend being on Win9x by
setting the G_WIN32_PRETEND_WIN9X environment variable.

2005-11-06  Tor Lillqvist  <tml@novell.com>

Make icon masks work on Win98 (#320152, Peter Zelezny)

* gdk/win32/gdkcursor-win32.c (create_color_bitmap): Take also a
parameter for the depth of the bitmap, so that this function can
be used to create 1-bit bitmaps, too.
(pixbuf_to_hbitmaps_normal): Create an 1-bit bitmap for the mask,
and initialize it properly.

20 years agoPrevent a segfault
Matthias Clasen [Fri, 4 Nov 2005 15:56:13 +0000 (15:56 +0000)]
Prevent a segfault

20 years agoBroken commit
Matthias Clasen [Fri, 4 Nov 2005 15:43:50 +0000 (15:43 +0000)]
Broken commit

20 years agoStore builtin stock icons in an icon cache, instead of populating a hash
Matthias Clasen [Fri, 4 Nov 2005 15:43:40 +0000 (15:43 +0000)]
Store builtin stock icons in an icon cache, instead of populating a hash

2005-11-04  Matthias Clasen  <mclasen@redhat.com>

        Store builtin stock icons in an icon cache, instead of
        populating a hash table with pixbufs at startup, to save both
        memory and startup time.

        * gtk/stock-icons/*: Reorganize the icons in a directory structure
        suitable for gtk-update-icon-cache, and rename them to match the
        stock ids.

        * gtk/gtkiconcache.[hc]: Support non-mmapped icon caches, and
        add _gtk_icon_cache_has_icon_in_directory().

        * gtk/updateiconcache.c: Support a --source <VARIABLE> argument
        to store the contents of the icon cache in a C header.

        * gtk/gtkbuiltincache.h: Generated private header which contains
        the icon cache for the builtin icons.

        * gtk/gtkicontheme.c: Create a GtkIconCache for the builtin
        icons, and use that in addition to the hash table whenever
        builtin icons are searched.

        * gtk/gtkiconfactory.c: Add GTK_ICON_SOURCE_STATIC_ICON_NAME and
        use it for static stock ids.
        (get_default_icons): Don't add the builtin
        icons to the icon theme, just register the stock ids.
        (render_fallback_image): Take the fallback image out of the
        builtin icon cache.

        * gtk/Makefile.am: Remove stock-icons from SUBDIRS and add
        the necessary machinery to rebuild gtkbuiltincache.h.

20 years agoRestructure stock icons
Matthias Clasen [Fri, 4 Nov 2005 15:39:43 +0000 (15:39 +0000)]
Restructure stock icons

20 years agoTry again
Matthias Clasen [Fri, 4 Nov 2005 15:39:17 +0000 (15:39 +0000)]
Try again

20 years agoapplied patch from maemo-gtk that changes the mtime check for rc files
Michael Natterer [Fri, 4 Nov 2005 12:24:36 +0000 (12:24 +0000)]
applied patch from maemo-gtk that changes the mtime check for rc files

2005-11-04  Michael Natterer  <mitch@imendio.com>

* gtk/gtkrc.c (gtk_rc_reparse_all_for_settings): applied patch
from maemo-gtk that changes the mtime check for rc files from
'>' to '!=', otherwise theme changes go unnoticed when turning
back the clock (Tommi Komulainen).

20 years agoPlug memory leak on Win32.
Tor Lillqvist [Fri, 4 Nov 2005 00:37:31 +0000 (00:37 +0000)]
Plug memory leak on Win32.

2005-11-04  Tor Lillqvist  <tml@novell.com>

* gtk/gtkstatusicon.c (gtk_status_icon_set_tooltip): Plug memory
leak on Win32.

20 years agoTypo.
Tor Lillqvist [Thu, 3 Nov 2005 13:56:13 +0000 (13:56 +0000)]
Typo.

20 years agoFormatting fix.
Tor Lillqvist [Thu, 3 Nov 2005 13:54:10 +0000 (13:54 +0000)]
Formatting fix.

20 years agoAs there is only one GdkDisplay in the Win32 backend, check that
Tor Lillqvist [Thu, 3 Nov 2005 13:44:37 +0000 (13:44 +0000)]
As there is only one GdkDisplay in the Win32 backend, check that

2005-11-03  Tor Lillqvist  <tml@novell.com>

* gdk/win32/gdkcursor-win32.c: As there is only one GdkDisplay in
the Win32 backend, check that GdkDisplay* parameters are equal to
_gdk_display instead of using the unnecessarily general
GDK_IS_DISPLAY().

20 years agoRename the variables for the color bitmap to have "color" in their name,
Tor Lillqvist [Thu, 3 Nov 2005 13:29:30 +0000 (13:29 +0000)]
Rename the variables for the color bitmap to have "color" in their name,

2005-11-03  Tor Lillqvist  <tml@novell.com>

* gdk/win32/gdkcursor-win32.c (pixbuf_to_hbitmaps_alpha_winxp):
Rename the variables for the color bitmap to have "color" in their
name, for similarity with pixbuf_to_hbitmaps_normal(). Create a
color bitmap for the mask, too, instead of creating a b&w bitmap
with CreateBitmap(). Set up the mask bitmap's contents, ones for
those pixels in the color bitmap where the alpha is zero, zero for
other pixels. We used to use an unitialized mask bitmap! This
meant that icons and cursors created presumably worked more or
less by accident. Totally blank icons with zero alpha everywhere
(as used by gtktrayicon.c) definitely did not work as expected.

20 years agoInclude gtkstatusicon.c on all platforms.
Tor Lillqvist [Thu, 3 Nov 2005 13:17:01 +0000 (13:17 +0000)]
Include gtkstatusicon.c on all platforms.

2005-11-03  Tor Lillqvist  <tml@novell.com>

* gtk/Makefile.am: Include gtkstatusicon.c on all platforms.

* gtk/gtkstatusicon.c: Implement for Win32. Use code from
gtktrayicon-win32.c as applicable. (gtktrayicon-win32.c is not
necessary and can be removed from CVS. It has never been mentioned
in gtk/Makefile.am.) No tray icon widget, GtkImage or GtkTooltips
are used on Win32. One label widget is used (but never shown) as
gtk_widget_render_icon() needs a widget.

Ifdefs used as necessary in several places. It might be cleaner to
split out the backend-specific parts to separate files, or at
least collect them into separate blocks in the file.

(wndproc): New function. Window procedure to monitor mouse events
in the system tray icon. Call gtk_status_icon_button_press() as
needed.
(create_tray_observer): New function. Creates a hidden window that
only serves as a tray icon message observer.

20 years agoPosition the dialog with GTK_WIN_POS_CENTER. (do_quit): New function, hide
Tor Lillqvist [Thu, 3 Nov 2005 12:09:49 +0000 (12:09 +0000)]
Position the dialog with GTK_WIN_POS_CENTER. (do_quit): New function, hide

2005-11-03  Tor Lillqvist  <tml@novell.com>

* tests/teststatusicon.c (icon_activated): Position the dialog
with GTK_WIN_POS_CENTER.
(do_quit): New function, hide and unref the GtkStatusIcon, and
call gtk_main_quit().
(popup_menu): Add a Quit menu item that calls do_quit().

20 years agoUpdated Czech translation.
Miloslav Trmac [Wed, 2 Nov 2005 22:59:00 +0000 (22:59 +0000)]
Updated Czech translation.

2005-11-02  Miloslav Trmac  <mitr@volny.cz>

* cs.po: Updated Czech translation.

20 years agogdk/win32/gdkcolor-win32.c gdk/win32/gdkscreen-win32.c Whitespace
Tor Lillqvist [Wed, 2 Nov 2005 13:33:27 +0000 (13:33 +0000)]
gdk/win32/gdkcolor-win32.c gdk/win32/gdkscreen-win32.c Whitespace

2005-11-02  Tor Lillqvist  <tml@novell.com>

* gdk/win32/gdkcolor-win32.c
* gdk/win32/gdkscreen-win32.c
* gdk/win32/gdkwindow-win32.c: Whitespace consistency
fixes. Remove superfluous test for GdkWindow* parameters being
non-NULL. Testing GDK_IS_WINDOW() is enough. As there is only one
GdkScreen and one GdkDisplay in the Win32 backend, use those
variables instead of the getter functions. For GdkDisplay* and
GdkScreen* parameters, check that they are equal to the
corresponding singleton variables instead of the more general
GDK_IS_DISPLAY() or GDK_IS_SCREEN().

20 years agoRemove some g_return_if_fail() from static functions, replace some others
Matthias Clasen [Wed, 2 Nov 2005 06:26:07 +0000 (06:26 +0000)]
Remove some g_return_if_fail() from static functions, replace some others

2005-11-02  Matthias Clasen  <mclasen@redhat.com>

* gtk/gtktextview.c: Remove some g_return_if_fail() from
static functions, replace some others by g_assert().

* gtk/gtktextview.c (selection_motion_event_handler)
(gtk_text_view_start_selection_drag): Keep track of the original
selection boundaries during a drag selection, in order to correctly
decide when to extend or shrink the selection.  (#320167,
reported by Arvind S N, patch by Paolo Borelli)

20 years agoReplace manual offset calculations by g_utf8_offset_to_pointer().
Matthias Clasen [Wed, 2 Nov 2005 05:08:31 +0000 (05:08 +0000)]
Replace manual offset calculations by g_utf8_offset_to_pointer().

2005-11-02  Matthias Clasen  <mclasen@redhat.com>

* gtk/gtktextbtree.c (_gtk_text_line_char_to_byte_offsets):
* gtk/gtktextiter.c (gtk_text_iter_backward_chars): Replace
manual offset calculations by g_utf8_offset_to_pointer().
(#320360, Paolo Borelli)

20 years agoTranslation updated by Tino Meinen.
Vincent van Adrighem [Tue, 1 Nov 2005 20:16:54 +0000 (20:16 +0000)]
Translation updated by Tino Meinen.

2005-11-01  Vincent van Adrighem  <adrighem@gnome.org>

* nl.po: Translation updated by Tino Meinen.

20 years agoAdd a TODO - Federico
Federico Mena Quintero [Tue, 1 Nov 2005 18:24:28 +0000 (18:24 +0000)]
Add a TODO - Federico

20 years agoget rid of GAllocator usage, allocate and free nodes via the g_slice_*()
Tim Janik [Tue, 1 Nov 2005 18:10:51 +0000 (18:10 +0000)]
get rid of GAllocator usage, allocate and free nodes via the g_slice_*()

Tue Nov  1 16:18:24 2005  Tim Janik  <timj@imendio.com>

        * gtk/gtkrbtree.[hc]: get rid of GAllocator usage, allocate and free
        nodes via the g_slice_*() API.
        _gtk_rbtree_new(): fixed wrong node allocation via g_new().

20 years agogdk/win32/gdkprivate-win32.h gdk/win32/gdkglobals-win32.c Add more
Tor Lillqvist [Tue, 1 Nov 2005 15:29:59 +0000 (15:29 +0000)]
gdk/win32/gdkprivate-win32.h gdk/win32/gdkglobals-win32.c Add more

2005-11-01  Tor Lillqvist  <tml@novell.com>

* gdk/win32/gdkprivate-win32.h
* gdk/win32/gdkglobals-win32.c
* gdk/win32/gdkmain-win32.c (_gdk_windowing_init): Add more
pre-interned GdkAtoms and pre-registered clipboard formats. Sort
their declarations, definitions and assignments into a more
logical and consistent order.

* gdk/win32/gdkmain-win32.c (_gdk_win32_cf_to_string): Include the
CF_ prefix for the predefined clipboard format names. Put quotes
around registered format names to distinguish them.

* gdk/win32/gdkproperty-win32.c (gdk_property_change): Return
immediately with a warning if the property type is STRING, TEXT,
COMPOUND_TEXT or SAVE_TARGETS, as these are X11-specific that we
should never pretend to handle on Win32. Handle only UTF8_STRING
here, other formats with delayed rendering. Use \uc1 instead of
\uc0 when generating Rich Text Format for easier testability on
XP, where WordPad misinterprets \uc0 encoded characters. Add more
GDK_NOTE debugging output for Clipboard operations.

* gdk/win32/gdkselection-win32.c: Debugging printout improvements.
(gdk_selection_convert): Don't pretent to handle STRING, just
UTF8_STRING. Streamline error handling, don't unnecessarily have a
GError which then isn't used for anything anyway if it gets set.
(gdk_win32_selection_add_targets): Skip also STRING, TEXT,
COMPOUND_TEXT and SAVE_TARGETS in addition to UTF8_STRING.

20 years agoSync with what configure produces.
Tor Lillqvist [Tue, 1 Nov 2005 09:48:46 +0000 (09:48 +0000)]
Sync with what configure produces.

2005-11-01  Tor Lillqvist  <tml@novell.com>

* config.h.win32.in: Sync with what configure produces.

20 years agoDon't look for X_PACKAGES unless building for x11. (#313986, John
Tor Lillqvist [Tue, 1 Nov 2005 09:26:59 +0000 (09:26 +0000)]
Don't look for X_PACKAGES unless building for x11. (#313986, John

2005-11-01  Tor Lillqvist  <tml@novell.com>

* configure.in: Don't look for X_PACKAGES unless building for
x11. (#313986, John Ehresman)

20 years ago*** empty log message ***
Ignacio Casal Quinteiro [Mon, 31 Oct 2005 22:36:13 +0000 (22:36 +0000)]
*** empty log message ***

20 years agoUpdated Canadian English translation.
Adam Weinberger [Mon, 31 Oct 2005 19:27:08 +0000 (19:27 +0000)]
Updated Canadian English translation.

2005-10-31  Adam Weinberger  <adamw@gnome.org>

* en_CA.po: Updated Canadian English translation.

20 years agoUpdated Kurdish translation
Erdal Ronahi [Sat, 29 Oct 2005 16:20:15 +0000 (16:20 +0000)]
Updated Kurdish translation

20 years agoUpdated Spanish translation.
Francisco Javier F. Serrador [Sat, 29 Oct 2005 13:16:58 +0000 (13:16 +0000)]
Updated Spanish translation.

2005-10-29  Francisco Javier F. Serrador  <serrador@cvs.gnome.org>

* es.po: Updated Spanish translation.

20 years agoAdded Kurdish translation to po-properties
Erdal Ronahi [Fri, 28 Oct 2005 22:08:11 +0000 (22:08 +0000)]
Added Kurdish translation to po-properties

20 years agoAdd the popup window to the toplevels window group. (#319912, Christian
Matthias Clasen [Fri, 28 Oct 2005 20:35:11 +0000 (20:35 +0000)]
Add the popup window to the toplevels window group. (#319912, Christian

2005-10-28  Matthias Clasen  <mclasen@redhat.com>

* gtk/gtkentrycompletion.c (_gtk_entry_completion_popup): Add the popup
window to the toplevels window group.  (#319912, Christian Persch)

20 years agofix stupid thinko.
Kristian Rietveld [Fri, 28 Oct 2005 17:15:15 +0000 (17:15 +0000)]
fix stupid thinko.

2005-10-28  Kristian Rietveld  <kris@gtk.org>

* gtk/gtktreemodelfilter.c (gtk_tree_model_filter_row_deleted): fix
stupid thinko.

20 years agoFix the anchor of the default drag cursors. (#319200, Federico Mena
Matthias Clasen [Fri, 28 Oct 2005 17:06:43 +0000 (17:06 +0000)]
Fix the anchor of the default drag cursors. (#319200, Federico Mena

2005-10-28  Matthias Clasen  <mclasen@redhat.com>

* gtk/gtkdnd.c (gtk_drag_get_cursor): Fix the anchor of the default
drag cursors.  (#319200, Federico Mena Quintero)

20 years agoHandle Shift-G to go to the previous match, like firefox. (#320061,
Matthias Clasen [Fri, 28 Oct 2005 15:13:54 +0000 (15:13 +0000)]
Handle Shift-G to go to the previous match, like firefox. (#320061,

2005-10-28  Matthias Clasen  <mclasen@redhat.com>

* gtk/gtktreeview.c (gtk_tree_view_search_key_press_event): Handle
Shift-G to go to the previous match, like firefox.  (#320061, Christian
Neumair)

20 years agoFix the build
Matthias Clasen [Fri, 28 Oct 2005 15:04:57 +0000 (15:04 +0000)]
Fix the build

20 years agoFix a C99ism. (#320000, Kazuki Iwamoto)
Matthias Clasen [Fri, 28 Oct 2005 14:16:45 +0000 (14:16 +0000)]
Fix a C99ism. (#320000, Kazuki Iwamoto)

2005-10-28  Matthias Clasen  <mclasen@redhat.com>

* gtk/gtktreemodelfilter.c (gtk_tree_model_filter_build_level): Fix a
C99ism.  (#320000, Kazuki Iwamoto)

20 years agoAdd the little stars. (#319985, Bastien Nocera)
Matthias Clasen [Fri, 28 Oct 2005 14:04:04 +0000 (14:04 +0000)]
Add the little stars. (#319985, Bastien Nocera)

2005-10-28  Matthias Clasen  <mclasen@redhat.com>

* gtk/gtkaboutdialog.c (gtk_about_dialog_init): Add the little
stars.  (#319985, Bastien Nocera)

20 years agoReturn FALSE, so we don't flush repeatedly. (#319151, Alexander Larsson)
Matthias Clasen [Fri, 28 Oct 2005 13:53:16 +0000 (13:53 +0000)]
Return FALSE, so we don't flush repeatedly. (#319151, Alexander Larsson)

2005-10-28  Matthias Clasen  <mclasen@redhat.com>

* gtk/gtktreeview.c (gtk_tree_view_search_entry_flush_timeout): Return
FALSE, so we don't flush repeatedly.  (#319151, Alexander Larsson)

20 years agoUpdated Romanian translation by Misu Moldovan.
Dan Damian [Thu, 27 Oct 2005 19:37:05 +0000 (19:37 +0000)]
Updated Romanian translation by Misu Moldovan.

20 years agoTranslation updated by Tino Meinen.
Vincent van Adrighem [Thu, 27 Oct 2005 19:17:19 +0000 (19:17 +0000)]
Translation updated by Tino Meinen.

2005-10-27  Vincent van Adrighem  <adrighem@gnome.org>

* nl.po: Translation updated by Tino Meinen.

20 years agoI found some unknown messages in gtk-properties .po file. I didn't write
Norayr Chilingaryan [Thu, 27 Oct 2005 13:52:28 +0000 (13:52 +0000)]
I found some unknown messages in gtk-properties .po file. I didn't write
them and that translations doesn't correspond original english words.
So I removed or changed them.

20 years agoFix bug #319974:
Michael Natterer [Thu, 27 Oct 2005 13:16:23 +0000 (13:16 +0000)]
Fix bug #319974:

2005-10-26  Michael Natterer  <mitch@imendio.com>

Fix bug #319974:

* gtk/gtkcellrendererpixbuf.c (gtk_cell_renderer_pixbuf_set_property):
make sure that setting any of pixbuf/stock-id/icon-name resets the
others because they are mutually exclusive, and that unsetting any
of them only resets the pixbuf and nothing else. Also added
some missing g_object_notify().

(gtk_cell_renderer_pixbuf_get_property): simplified calls to
g_value_set_object().

(gtk_cell_renderer_pixbuf_create_stock_pixbuf)
(gtk_cell_renderer_pixbuf_create_named_icon_pixbuf): added
g_object_notify ("pixbuf").

20 years agofixed Lilit Sargsyans errors
Norayr Chilingaryan [Thu, 27 Oct 2005 12:02:22 +0000 (12:02 +0000)]
fixed Lilit Sargsyans errors

20 years agofix many errors
Norayr Chilingaryan [Thu, 27 Oct 2005 08:41:36 +0000 (08:41 +0000)]
fix many errors

20 years agoBe more careful about initializing cell_area. (#319382, Tommi Komulainen)
Matthias Clasen [Thu, 27 Oct 2005 04:51:25 +0000 (04:51 +0000)]
Be more careful about initializing cell_area. (#319382, Tommi Komulainen)

2005-10-27  Matthias Clasen  <mclasen@redhat.com>

* gtk/gtktreeview.c (gtk_tree_view_button_press): Be more
careful about initializing cell_area.  (#319382, Tommi
Komulainen)

20 years agoDon't eat Ctrl-PageUp/PageDown. (#318670, Christian Neumair)
Matthias Clasen [Thu, 27 Oct 2005 04:38:55 +0000 (04:38 +0000)]
Don't eat Ctrl-PageUp/PageDown. (#318670, Christian Neumair)

2005-10-27  Matthias Clasen  <mclasen@redhat.com>

* gtk/gtkcombobox.c (gtk_combo_box_key_press): Don't eat
Ctrl-PageUp/PageDown.  (#318670, Christian Neumair)

20 years agoOnly set the text if it is not NULL. (#319930, Thomas Klausner)
Matthias Clasen [Thu, 27 Oct 2005 04:31:33 +0000 (04:31 +0000)]
Only set the text if it is not NULL. (#319930, Thomas Klausner)

2005-10-27  Matthias Clasen  <mclasen@redhat.com>

* demos/gtk-demo/clipboard.c (paste_received): Only set the
text if it is not NULL.  (#319930, Thomas Klausner)

* gtk/gtkselection.c (gtk_selection_data_get_pixbuf): Close the
loader before trying to get the pixbuf.  (#319930, Thomas Klausner)

20 years agoUse G_MODULE_BIND_LAZY when dlopening modules. (#319557, Laszlo Peter)
Matthias Clasen [Thu, 27 Oct 2005 03:16:00 +0000 (03:16 +0000)]
Use G_MODULE_BIND_LAZY when dlopening modules. (#319557, Laszlo Peter)

2005-10-26  Matthias Clasen  <mclasen@redhat.com>

* gtk/gtkfilesystem.c (gtk_file_system_module_load):
* gtk/gtkthemes.c (gtk_theme_engine_load):
* gtk/gtkimmodule.c (gtk_im_module_load): Use G_MODULE_BIND_LAZY
when dlopening modules.  (#319557, Laszlo Peter)

20 years agoOnly use text segments when determining text direction. (#319065, Tommi
Matthias Clasen [Wed, 26 Oct 2005 20:47:04 +0000 (20:47 +0000)]
Only use text segments when determining text direction. (#319065, Tommi

* gtk/gtktextbtree.c (gtk_text_btree_resolve_bidi): Only use text
segments when determining text direction.  (#319065, Tommi Komulainen)

20 years agoDon't crash on duplicate destroy. (#318953, Gustavo Carneiro)
Matthias Clasen [Wed, 26 Oct 2005 19:47:48 +0000 (19:47 +0000)]
Don't crash on duplicate destroy. (#318953, Gustavo Carneiro)

2005-10-26  Matthias Clasen  <mclasen@redhat.com>

* gtk/gtktreeview.c (gtk_tree_view_destroy): Don't crash
on duplicate destroy.  (#318953, Gustavo Carneiro)

20 years agoDoc updates
Matthias Clasen [Wed, 26 Oct 2005 19:10:08 +0000 (19:10 +0000)]
Doc updates

20 years agouse $(GLIB_MKENUMS) instead of glib-mkenums. (#318582, Damien Carbery)
Matthias Clasen [Wed, 26 Oct 2005 18:01:05 +0000 (18:01 +0000)]
use $(GLIB_MKENUMS) instead of glib-mkenums. (#318582, Damien Carbery)

2005-10-26  Matthias Clasen  <mclasen@redhat.com>

        * */Makefile.am: use $(GLIB_MKENUMS) instead of
        glib-mkenums.  (#318582, Damien Carbery)

20 years agoClarify docs. (#317682, Christian - Manny Calavera - Neumair)
Matthias Clasen [Wed, 26 Oct 2005 14:43:10 +0000 (14:43 +0000)]
Clarify docs. (#317682, Christian - Manny Calavera - Neumair)

2005-10-26  Matthias Clasen  <mclasen@redhat.com>

        * gtk/gtktreemodel.c (gtk_tree_model_rows_reordered): Clarify
        docs.  (#317682, Christian - Manny Calavera - Neumair)

20 years agoFixed typos reported by kano@na.rim.or.jp.
Takeshi AIHANA [Wed, 26 Oct 2005 14:29:03 +0000 (14:29 +0000)]
Fixed typos reported by kano@na.rim.or.jp.

2005-10-26  Takeshi AIHANA <aihana@gnome.gr.jp>

* ja.po: Fixed typos reported by kano@na.rim.or.jp.

20 years agoFix #317844
Matthias Clasen [Wed, 26 Oct 2005 13:42:53 +0000 (13:42 +0000)]
Fix #317844

20 years agoFix some issues with background drawing in RTL. (#318781, Eric Cazeaux)
Matthias Clasen [Wed, 26 Oct 2005 04:23:46 +0000 (04:23 +0000)]
Fix some issues with background drawing in RTL. (#318781, Eric Cazeaux)

2005-10-25  Matthias Clasen  <mclasen@redhat.com>

        * gtk/gtktreeviewcolumn.c (gtk_tree_view_column_cell_process_action):
        Fix some issues with background drawing in RTL.  (#318781,
        Eric Cazeaux)

20 years agoAdd property editors
Matthias Clasen [Wed, 26 Oct 2005 03:55:35 +0000 (03:55 +0000)]
Add property editors

20 years agoActivate status icons on single click
Matthias Clasen [Wed, 26 Oct 2005 03:18:09 +0000 (03:18 +0000)]
Activate status icons on single click

20 years agoFixes #311955, reported by Markku Vire; and a lot more.
Kristian Rietveld [Tue, 25 Oct 2005 21:00:40 +0000 (21:00 +0000)]
Fixes #311955, reported by Markku Vire; and a lot more.

2005-10-25  Kristian Rietveld  <kris@gtk.org>

Fixes #311955, reported by Markku Vire; and a lot more.

* gtk/gtktreemodelfilter.c: Made this thing work correctly.
Levels can now have invisible nodes cached, functions have been
rewritten/refactored to take this into account; also the logic in
some functions has been corrected.

Each referenced node now references all visible children or a single
invisible child, in order to be able to monitor all changes in the
child model required for correct operation.

When a virtual root is set, all nodes on the virtual root level are
referenced.

At last, a bunch of random bug fixes and comment updates.

20 years agoAdd some more docs. (#319722, Paolo Borelli)
Matthias Clasen [Tue, 25 Oct 2005 18:28:35 +0000 (18:28 +0000)]
Add some more docs. (#319722, Paolo Borelli)

2005-10-25  Matthias Clasen  <mclasen@redhat.com>

* gtk/gtktexttagtable.c (gtk_text_tag_table_foreach): Add some
more docs.  (#319722, Paolo Borelli)

20 years agoMake the initialization of screen_x11->xft_rgba more explicit. (#319627,
Matthias Clasen [Tue, 25 Oct 2005 18:11:57 +0000 (18:11 +0000)]
Make the initialization of screen_x11->xft_rgba more explicit. (#319627,

2005-10-25  Matthias Clasen  <mclasen@redhat.com>

* gdk/x11/gdkxftdefaults.c (init_xft_settings): Make the
initialization of screen_x11->xft_rgba more explicit.  (#319627,
Bogdan Nicula)

20 years agoDon't use deprecated functions in examples. (#319524, Vincent Untz)
Matthias Clasen [Tue, 25 Oct 2005 18:00:49 +0000 (18:00 +0000)]
Don't use deprecated functions in examples. (#319524, Vincent Untz)

2005-10-25  Matthias Clasen  <mclasen@redhat.com>

* gtk/tmpl/gtkfilechooser.sgml: Don't use deprecated functions
in examples.  (#319524, Vincent Untz)

* gtk/gtk-update-icon-cache.xml: Fix a typo.  (#319524, Vincent Untz)

20 years agoFix whitespace in a blurb. (#319499, Francisco Javier F. Serrador)
Matthias Clasen [Tue, 25 Oct 2005 17:57:35 +0000 (17:57 +0000)]
Fix whitespace in a blurb. (#319499, Francisco Javier F. Serrador)

2005-10-25  Matthias Clasen  <mclasen@redhat.com>

* gtk/gtkfilechooser.c (gtk_file_chooser_class_init): Fix whitespace
in a blurb.  (#319499, Francisco Javier F. Serrador)

20 years agoUpdated Simplified Chinese translations.
Funda Wang [Tue, 25 Oct 2005 13:24:28 +0000 (13:24 +0000)]
Updated Simplified Chinese translations.

20 years agoAdd settings to hide the input method and Unicode control character
Matthias Clasen [Mon, 24 Oct 2005 20:01:57 +0000 (20:01 +0000)]
Add settings to hide the input method and Unicode control character

2005-10-24  Matthias Clasen  <mclasen@redhat.com>

        Add settings to hide the input method and Unicode control character
        submenus in the context menus of GtkEntry and GtkTextView.

        * gdk/x11/gdkevents-x11.c: Map GTK+ settings to X settings.

        * gtk/gtksettings.c (gtk_settings_class_init): Declare GTK+ settings here.

        * gtk/gtktextview.c (popup_targets_received):
        * gtk/gtkentry.c (popup_targets_received): Use the settings here.

20 years agoemitting row-has-child-toggled when the level is not in the cache does not
Kristian Rietveld [Mon, 24 Oct 2005 19:01:36 +0000 (19:01 +0000)]
emitting row-has-child-toggled when the level is not in the cache does not

2005-10-24  Kristian Rietveld  <kris@gtk.org>

* gtk/gtktreemodelsort.c (gtk_tree_model_sort_row_inserted): emitting
row-has-child-toggled when the level is not in the cache does not
make sense.  (This bug probably crept in during the early stages
of GtkTreeModelSort when there wasn't a correct row-has-child-toggled
implementation yet),
(gtk_tree_model_sort_real_unref_node): only get the child iter
when we will actually also use it.

20 years agoUpdated Spanish translation.
Francisco Javier F. Serrador [Sat, 22 Oct 2005 22:19:15 +0000 (22:19 +0000)]
Updated Spanish translation.

2005-10-23  Francisco Javier F. Serrador  <serrador@cvs.gnome.org>

* es.po: Updated Spanish translation.

20 years agoUpdated Spanish translation.
Francisco Javier F. Serrador [Sat, 22 Oct 2005 21:57:03 +0000 (21:57 +0000)]
Updated Spanish translation.

2005-10-22  Francisco Javier F. Serrador  <serrador@cvs.gnome.org>

* es.po: Updated Spanish translation.

20 years agocheck for the widget being realized, in addition to being visible, to
Michael Natterer [Sat, 22 Oct 2005 21:08:23 +0000 (21:08 +0000)]
check for the widget being realized, in addition to being visible, to

2005-10-22  Michael Natterer  <mitch@imendio.com>

* gtk/gtktreeview.c (gtk_tree_view_scroll_to_cell): check for the
widget being realized, in addition to being visible, to avoid
running into precondition check in gtk_tree_view_get_cell_area().
(approved by Kris).

20 years agoExperimentally, scrollbar steppers can shrink to 8 pixels on Win32.
Dom Lachowicz [Sat, 22 Oct 2005 15:53:00 +0000 (15:53 +0000)]
Experimentally, scrollbar steppers can shrink to 8 pixels on Win32.

* modules/engines/ms-windows/msw_style.c (setup_msw_rc_style):
Experimentally, scrollbar steppers can shrink to 8 pixels on
Win32. Reflect that in the theme.
* modules/engines/ms-windows/Theme/gtk-2.0/gtkrc: Experimentally,
there is a 1-pixel border between a scrollbar and its child
in ScrolledWindows on Win32. Reflect that in the theme.

20 years agoUpdated Bulgarian translation by Alexander Shopov <ash@contact.bg>
Alexander Shopov [Fri, 21 Oct 2005 08:20:45 +0000 (08:20 +0000)]
Updated Bulgarian translation by Alexander Shopov <ash@contact.bg>

2005-10-21  Alexander Shopov  <ash@contact.bg>

* bg.po: Updated Bulgarian translation by
Alexander Shopov <ash@contact.bg>

20 years agoUse GDK_WINDOW_CHILD for the selection window. (#318806, Alex Larsson)
Matthias Clasen [Thu, 20 Oct 2005 20:40:54 +0000 (20:40 +0000)]
Use GDK_WINDOW_CHILD for the selection window. (#318806, Alex Larsson)

2005-10-20  Matthias Clasen  <mclasen@redhat.com>

* gtk/gtklabel.c (gtk_label_create_window): Use GDK_WINDOW_CHILD
for the selection window.  (#318806, Alex Larsson)

20 years agoAdded Entry for Bengali (bn) Translation Updation:20/10
Runa Bhattacharjee [Thu, 20 Oct 2005 05:39:25 +0000 (05:39 +0000)]
Added Entry for Bengali (bn) Translation Updation:20/10

20 years agoUpdated Bengali(bn) Translation:20/10
Runa Bhattacharjee [Thu, 20 Oct 2005 05:39:11 +0000 (05:39 +0000)]
Updated Bengali(bn) Translation:20/10

20 years ago*** empty log message ***
Ignacio Casal Quinteiro [Wed, 19 Oct 2005 23:09:08 +0000 (23:09 +0000)]
*** empty log message ***

20 years agoFixed some typos.
Inaki Larranaga [Wed, 19 Oct 2005 18:30:45 +0000 (18:30 +0000)]
Fixed some typos.

2005-10-19  Inaki Larranaga  <dooteo@euskalgnu.org>

* eu.po: Fixed some typos.

20 years agoFixes bug #317999:
Federico Mena Quintero [Wed, 19 Oct 2005 16:25:42 +0000 (16:25 +0000)]
Fixes bug #317999:

2005-10-18  Federico Mena Quintero  <federico@ximian.com>

Fixes bug #317999:

* tests/autotestfilechooser.c
(test_button_folder_states_for_action): Test that we have either
$cwd or the explicitly-set folder.
(test_reload_sequence): Likewise.

* gtk/gtkfilechooserdefault.c
(gtk_file_chooser_default_get_current_folder): If our reload_state
is RELOAD_EMPTY, return a GtkFilePath corresponding to $cwd.

20 years agoMake magic comparisons work correctly in the cache.
Matthias Clasen [Tue, 18 Oct 2005 20:32:35 +0000 (20:32 +0000)]
Make magic comparisons work correctly in the cache.

2005-10-18  Matthias Clasen  <mclasen@redhat.com>

        * xdgmimecache.c: Make magic comparisons work correctly
        in the cache.

20 years agoRemove a debugging printf.
Matthias Clasen [Tue, 18 Oct 2005 02:54:55 +0000 (02:54 +0000)]
Remove a debugging printf.

2005-10-17  Matthias Clasen  <mclasen@redhat.com>

* xdgmime.c (xdg_mime_get_mime_type_for_file): Remove
a debugging printf.

20 years agoFixed translations with context (thanks to Sergej Chodarev).
Marcel Telka [Mon, 17 Oct 2005 23:12:43 +0000 (23:12 +0000)]
Fixed translations with context (thanks to Sergej Chodarev).

2005-10-17  Marcel Telka  <marcel@telka.sk>

* sk.po: Fixed translations with context (thanks to Sergej Chodarev).

20 years agoUpdated Danish translation.
Martin Willemoes Hansen [Mon, 17 Oct 2005 14:19:17 +0000 (14:19 +0000)]
Updated Danish translation.

        * da.po: Updated Danish translation.

20 years agoTranslation updated by Ivar Smolin.
Priit Laes [Mon, 17 Oct 2005 12:41:47 +0000 (12:41 +0000)]
Translation updated by Ivar Smolin.

2005-10-17  Priit Laes  <plaes@cvs.gnome.org>

* et.po: Translation updated by Ivar Smolin.

20 years agoUpdated Danish translation.
Martin Willemoes Hansen [Mon, 17 Oct 2005 10:27:34 +0000 (10:27 +0000)]
Updated Danish translation.

        * da.po: Updated Danish translation.

20 years agoUpdated Traditional Chinese translation. Updated Traditional Chinese
Chao-Hsiung Liao [Mon, 17 Oct 2005 06:36:20 +0000 (06:36 +0000)]
Updated Traditional Chinese translation. Updated Traditional Chinese

2005-10-17 Chao-Hsiung Liao  <j_h_liau@yahoo.com.tw>

* ./po/zh_TW.po: Updated Traditional Chinese translation.
* ./po-properties/zh_TW.po: Updated Traditional Chinese translation.

20 years agoUpdated Slovak translation.
Marcel Telka [Mon, 17 Oct 2005 04:47:43 +0000 (04:47 +0000)]
Updated Slovak translation.

2005-10-17  Marcel Telka  <marcel@telka.sk>

* sk.po: Updated Slovak translation.

20 years agoTranslation updated.
Vincent van Adrighem [Sat, 15 Oct 2005 12:55:02 +0000 (12:55 +0000)]
Translation updated.

2005-10-15  Vincent van Adrighem  <adrighem@gnome.org>

* nl.po: Translation updated.

20 years agoAdded more tests.
Behdad Esfahbod [Sat, 15 Oct 2005 05:22:49 +0000 (05:22 +0000)]
Added more tests.